package com.demo.db.mybatis.db1.service

import com.demo.db.mybatis.db1.mapper.MyBatisDB1Mapper
import com.demo.db.mybatis.db1.model.MyBatisDB1Model
import org.springframework.stereotype.Service

@Service
class MyBatisDB1Service(val myBatisDB1Mapper: MyBatisDB1Mapper) {
    fun find(id: String): List<MyBatisDB1Model> {
        return myBatisDB1Mapper.find(id)
    }
}
